From e9cc9d5c47e93396101a47192775031df149b690 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 4 Jan 2011 17:42:30 -0500 Subject: [PATCH] Small doc cleanups for GtkCellLayout --- gtk/gtkcelllayout.c | 137 +++++++++++++++++++++++--------------------- 1 file changed, 73 insertions(+), 64 deletions(-) diff --git a/gtk/gtkcelllayout.c b/gtk/gtkcelllayout.c index 5a0ae592f5..35ff6f5344 100644 --- a/gtk/gtkcelllayout.c +++ b/gtk/gtkcelllayout.c @@ -24,30 +24,30 @@ * * #GtkCellLayout is an interface to be implemented by all objects which * want to provide a #GtkTreeViewColumn-like API for packing cells, setting - * attributes and data funcs. + * attributes and data funcs. * * One of the notable features provided by implementations of GtkCellLayout * are attributes. Attributes let you set the properties * in flexible ways. They can just be set to constant values like regular - * properties. But they can also be mapped to a column of the underlying - * tree model with gtk_cell_layout_set_attributes(), which means that the value - * of the attribute can change from cell to cell as they are rendered by the - * cell renderer. Finally, it is possible to specify a function with - * gtk_cell_layout_set_cell_data_func() that is called to determine the value + * properties. But they can also be mapped to a column of the underlying + * tree model with gtk_cell_layout_set_attributes(), which means that the value + * of the attribute can change from cell to cell as they are rendered by the + * cell renderer. Finally, it is possible to specify a function with + * gtk_cell_layout_set_cell_data_func() that is called to determine the value * of the attribute for each cell that is rendered. * * * GtkCellLayouts as GtkBuildable * - * Implementations of GtkCellLayout which also implement the GtkBuildable - * interface (#GtkCellView, #GtkIconView, #GtkComboBox, #GtkComboBoxEntry, + * Implementations of GtkCellLayout which also implement the GtkBuildable + * interface (#GtkCellView, #GtkIconView, #GtkComboBox, #GtkComboBoxEntry, * #GtkEntryCompletion, #GtkTreeViewColumn) accept GtkCellRenderer objects - * as <child> elements in UI definitions. They support a custom - * <attributes> element for their children, which can contain - * multiple <attribute> elements. Each <attribute> element has - * a name attribute which specifies a property of the cell renderer; the + * as <child> elements in UI definitions. They support a custom + * <attributes> element for their children, which can contain + * multiple <attribute> elements. Each <attribute> element has + * a name attribute which specifies a property of the cell renderer; the * content of the element is the attribute value. - * + * * * A UI definition fragment specifying attributes *